package fr.bitstrip.sitn.model;

import java.util.List;
import java.util.Set;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.ManyToOne;

import org.springframework.stereotype.Component;

@Component
@Entity
public class ImageFinale extends Model {
	@Lob
	@Column(columnDefinition = "LONGBLOB")
	private byte[] image;
	private String filename;
	private String created_by;
	
	public byte[] getImage() {
		return image;
	}

	public void setImage(byte[] image) {
		this.image = image;
	}

	public String getFilename() {
		return filename;
	}

	public void setFilename(String filename) {
		this.filename = filename;
	}

	public String getCreated_by() {
		return created_by;
	}

	public void setCreated_by(String string) {
		this.created_by = string;
	}
	
	
}